/*jslint node:true*/
/*global angular*/
'use strict';
var app = angular.module('myApp', []);
app.controller('myCtrl', function ($scope, $http) {
    $http.get('sites.json').then(function (response) {
        $scope.names = response.data.sites;
    });
    $http({
        method: 'GET',
        url: 'sites.json'
    }).then(function (response) {
        $scope.names2 = response.data.sites;
    });
});




